package com.xian.im.modules.command.system;

import com.xian.im.common.proto.MsgRequest;

/**
 * @program: xian-im-server
 * @description:
 * @author: liru.xian
 * @create: 2021-01-27 09:26
 **/
public interface SystemCommand {

    /**
     * 系统消息
     *
     * @param request
     */
    void exec(MsgRequest request);

    /**
     * code
     *
     * @return
     */
    String cmdCode();
}
